import { nodeResolve } from '@rollup/plugin-node-resolve'
import babel from 'rollup-plugin-babel'

export default [
    {
        input: {
            app: 'src/app.jsx'
        },
        output: {
            dir: 'dist',
            // chunkFileNames: '[name].js',
            // format: 'es',
        },
        plugins: [
            nodeResolve({
                extensions: ['.js']
            }),
            babel({
                exclude: 'node_modules/**',
                extensions: ['.js', '.jsx']
            }),
        ]
    }
]
